package com.huolian.calculator.common;

public enum ButtonConstant {
    BUTTON_ONE(1),
    BUTTON_TWO(2),
    BUTTON_THREE(3),
    BUTTON_FOUR(4),
    BUTTON_FIVE(5),
    BUTTON_SIX(6),
    BUTTON_SEVEN(7),
    BUTTON_EIGHT(8),
    BUTTON_NINE(9),
    BUTTON_ZERO(0);
    private int number;

    ButtonConstant(int number) {
        this.number = number;
    }

    public int getNumber() {
        return number;
    }
}
